package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 
 * @author f
 *
 */
public class Weeks {

	private Integer id; // 主键ID

	private String parentid; // 应用ID

	private String subid; // 用户ID

	private Date createtime; // 签到时间

	private BigDecimal callbalance; // 赠送的通话金额

	private BigDecimal shopbalance; // 赠送的购物金额

	private String appname; // 应用名称

	private String username; // 代理商名称

	private String shopname; // 商家名称
	
	private Integer ctweek; // 签到总数

	public Weeks() {
		super();
	}

	public Weeks(String parentid, String subid, Date createtime, BigDecimal callbalance,
			BigDecimal shopbalance) {
		super();
		this.parentid = parentid;
		this.subid = subid;
		this.createtime = createtime;
		this.callbalance = callbalance;
		this.shopbalance = shopbalance;
	}

	public Integer getCtweek() {
		return ctweek;
	}

	public void setCtweek(Integer ctweek) {
		this.ctweek = ctweek;
	}

	public String getAppname() {
		return appname;
	}

	public void setAppname(String appname) {
		this.appname = appname;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getShopname() {
		return shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public BigDecimal getCallbalance() {
		return callbalance;
	}

	public void setCallbalance(BigDecimal callbalance) {
		this.callbalance = callbalance;
	}

	public BigDecimal getShopbalance() {
		return shopbalance;
	}

	public void setShopbalance(BigDecimal shopbalance) {
		this.shopbalance = shopbalance;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid == null ? null : parentid.trim();
	}

	public String getSubid() {
		return subid;
	}

	public void setSubid(String subid) {
		this.subid = subid == null ? null : subid.trim();
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
}